﻿namespace dPet.Domain.Events
{
	using dPet.Domain.Models;
	using Hangerd.Event;

	public class InventoryReducedEvent : DomainEvent
	{
		#region Public Properties

		public int ReduceQuantity { get; private set; }

		public OrderBase Order { get; private set; }

		#endregion

		public InventoryReducedEvent(ProductInventory productInventory, int reduceQuantity, OrderBase order)
			: base(productInventory)
		{
			this.ReduceQuantity = reduceQuantity;
			this.Order = order;
		}
	}
}
